﻿using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moonwish.Workflow.DataEntity;

namespace Moonwish.Workflow.DataAccess.SqlServer.Test
{
    [TestClass]
    public class UnitTest1
    {
        [TestMethod]
        public void AppTest()
        {
            var item = new T_FLOW_TYPE
                           {
                T_FLOW_TYPE_ID = Guid.NewGuid().ToString(),
                TYPE_NAME = "发文",
                FATHER_TYPE_ID = "0",
                REMARK = "测试",
                ORDER_NO = 0
            };
            var context = new FormTypeContainer();
            var da = new AddCommand(context, new List<T_FLOW_TYPE> { item }, "");
            da.Execute();
        }
    }
}
